# -*- coding: utf-8 -*-
#  @Time    : 2020/3/6 17:10
#  @Author  : Ben
#  @File    : serializers.py
from rest_framework import serializers
from user.models import User


# class UserSerializer(serializers.HyperlinkedModelSerializer):
#     class Meta:
#         model = User
#         fields = "__all__"

class UserSerializer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = "__all__"
